package cn.thr.pethome.employee.mapper;

import cn.thr.pethome.employee.domain.Employee;
import cn.thr.pethome.base.mapper.BaseMapper;
import cn.thr.pethome.employee.domain.EmployeeRo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author thr
 * @since 2023-01-16
 */
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {
    List<EmployeeRo> countByEmp();

    Employee getEmpByShopId(Long id);
}
